package com.kamistoat.meimeimall.meimeimallware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.kamistoat.meimeimall.common.utils.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 库存工作单
 * 
 * @author kamistoat
 * @email linjianshanke@163.com
 * @date 2021-09-12 16:45:28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("wms_ware_order_task_detail")
public class WareOrderTaskDetailEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 工作单id
	 */
	private Long taskId;
	/**
	 * sku_id
	 */
	private Long skuId;
	/**
	 * sku_name
	 */
	private String skuName;
	/**
	 * 购买个数
	 */
	private Integer skuNum;
	private Long seckillSessionId;
	/**
	 * 仓库id
	 */
	private Long wareId;
	/**
	 * 库存锁定状态: 1-锁定 2-成功扣减 3-回滚释放
	 */
	private Integer lockStatus;

}
